CustomEventParams

The parameters of the custom DOM event.

Since

7.21

Types

Link copied to clipboard
class Builder
A builder of CustomEventParams.

Functions

Link copied to clipboard
open fun <T> detail(): T
Returns the payload of the custom event.
Link copied to clipboard
open fun isBubbles(): Boolean
Returns true if the event bubbles up through the DOM.
Link copied to clipboard
open fun isCancelable(): Boolean
Returns true if the event can be canceled, and therefore prevented as if the event never happened.
Link copied to clipboard
open fun isTrusted(): Boolean
Returns true if the event is trusted, and therefore was generated by a user action.
Link copied to clipboard
Creates a new CustomEventParams builder.
Creates a new EventParams builder.